#include "light.h"
#include "led.h"
#include "lsd.h"
#include <stdio.h>

int main(int argv, const char **argc){
        struct lsd light1;
        struct led light2;

        lsd_init(&light1);
        led_init(&light2);

        printf("state of light1:%d\r\n", light1.state);
        printf("state of light2:%d\r\n", light2.state);

        light_on(&light1);
        light_on(&light2);

        printf("state of light1:%d\r\n", light1.state);
        printf("state of light2:%d\r\n", light2.state);

        return 0;
}